package com.example.sourcecodelearning.modules.designpattern.responsibilitychain.handler.impl;

import com.example.sourcecodelearning.modules.designpattern.responsibilitychain.Request;
import com.example.sourcecodelearning.modules.designpattern.responsibilitychain.handler.RequestHandler;
import org.springframework.stereotype.Service;

/**
 * @author yuzhenxin
 * @date 2023/8/1
 */
@Service
public class SaveRequestHandler implements RequestHandler {
    @Override
    public void handleRequest(Request request) {
        System.out.println("save request:" + request);
    }
}
